package org.jsystemtest.tests_proj;

import jsystem.framework.report.ListenerstManager;
import jsystem.framework.report.Reporter;
import junit.framework.AssertionFailedError;
import junit.framework.Test;
import junit.framework.TestListener;

public class AnotherTestListener implements TestListener {

	private static Reporter report = ListenerstManager.getInstance();
	
	@Override
	public void addError(Test arg0, Throwable arg1) {
		report.report("***************** Add error**************");

	}

	@Override
	public void addFailure(Test arg0, AssertionFailedError arg1) {
		report.report("Add failure");

	}

	@Override
	public void endTest(Test arg0) {
		report.report("End test");

	}

	@Override
	public void startTest(Test arg0) {
		report.report("***************** Start test ***************");

	}

}
